package com.zyb.insurance.policy.entity;

import java.util.Date;

/**
 * 保单的服务员
 */
public class InsurancePolicyAttendant {

    /**
     * 保单服务员
     */
    private Employee insurancePolicyAttendant;

    /**
     * 生效时间
     */
    private Date startValidTime;

    /**
     * 失效时间
     */
    private Date endInvalidTime;

    public InsurancePolicyAttendant(Employee insurancePolicyAttendant, Date startValidTime, Date endInvalidTime) {
        this.insurancePolicyAttendant = insurancePolicyAttendant;
        this.startValidTime = startValidTime;
        this.endInvalidTime = endInvalidTime;
    }

    public Employee getInsurancePolicyAttendant() {
        return insurancePolicyAttendant;
    }

    public void setInsurancePolicyAttendant(Employee insurancePolicyAttendant) {
        this.insurancePolicyAttendant = insurancePolicyAttendant;
    }

    public Date getStartValidTime() {
        return startValidTime;
    }

    public void setStartValidTime(Date startValidTime) {
        this.startValidTime = startValidTime;
    }

    public Date getEndInvalidTime() {
        return endInvalidTime;
    }

    public void setEndInvalidTime(Date endInvalidTime) {
        this.endInvalidTime = endInvalidTime;
    }
}
